package com.cxf.service.impl;

import java.util.List;

import com.cxf.dao.UserDao;
import com.cxf.dao.impl.UserDaoImpl;
import com.cxf.service.UserService;

public class UserServiceImpl implements UserService {
	UserDao userDao = new UserDaoImpl();
	@Override
	public void addMessage(Integer userId, String message) {
		userDao.addMessage(userId,message);
	}

	@Override
	public List<String> getAllMessage() {
		return userDao.getAllMessage();
	}
}
